package com.lt.crm.service;

import com.lt.crm.pojo.SysRight;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lt.crm.pojo.SysRole;

import java.util.List;

/**
* @author Administrator
* @description 针对表【sys_right】的数据库操作Service
* @createDate 2024-06-18 16:58:48
*/
public interface SysRightService extends IService<SysRight> {
    List<SysRight> findRightsByRole(SysRole sysRole);

    List<SysRight> findAllRights();
}
